//
//  GestureView.h
//  GestureTest
//
//  Created by 迷你贷 on 2017/3/9.
//  Copyright © 2017年 迷你贷. All rights reserved.
//

#import <UIKit/UIKit.h>

@class GestureView;
@protocol GestureViewDelegate<NSObject>
@optional
- (void)gestureLockSetPassword:(NSString *)password gestureView:(GestureView *)gestureView;
- (void)gestureLockPasswordRight:(GestureView *)gestureView;
- (void)gestureLockPasswordError:(GestureView *)gestureView;
@end

@interface GestureView : UIView
/* 代理 */
@property (assign, nonatomic) id<GestureViewDelegate> delegate;

/* 选择按钮数组 */
@property (strong, nonatomic) NSMutableArray *selectBtnArr;


/* 手势密码 */
@property (strong, nonatomic) NSString *password;

/* 保存的手势密码 */
@property (strong, nonatomic) NSString *savePassword;
//保存密码
- (void)savePassword:(NSString *)password;
//比较密码
//- (void)comparePassword:(NSString *)password;


@end
